package com.ruoyi.item.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 陶特ID结算对象 item_taote_id
 * 
 * @author ruoyi
 * @date 2022-03-23
 */
public class ItemTaoteId extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 商品id */
    @Excel(name = "商品id")
    private Long goodsId;

    /** SKU */
    @Excel(name = "SKU")
    private String sku;

    /** 结算价 */
    @Excel(name = "结算价")
    private BigDecimal price;

    /** 陶特主销 */
    @Excel(name = "陶特主销")
    private String specs;

    /** 链接开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "链接开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date linkbeginTime;

    /** 链接结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "链接结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date linkendTime;

    /** 假删除 */
    private Integer delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }
    public void setSku(String sku) 
    {
        this.sku = sku;
    }

    public String getSku() 
    {
        return sku;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setSpecs(String specs) 
    {
        this.specs = specs;
    }

    public String getSpecs() 
    {
        return specs;
    }
    public void setLinkbeginTime(Date linkbeginTime) 
    {
        this.linkbeginTime = linkbeginTime;
    }

    public Date getLinkbeginTime() 
    {
        return linkbeginTime;
    }
    public void setLinkendTime(Date linkendTime) 
    {
        this.linkendTime = linkendTime;
    }

    public Date getLinkendTime() 
    {
        return linkendTime;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("updateTime", getUpdateTime())
            .append("goodsId", getGoodsId())
            .append("sku", getSku())
            .append("price", getPrice())
            .append("specs", getSpecs())
            .append("linkbeginTime", getLinkbeginTime())
            .append("linkendTime", getLinkendTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
